ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
18

Merge of entity classes with "mapped by" very slow

Hi, I have found a strange behavior when merging entities with "mapped by" set on @OneToMany ... - one with mapped by, second with adding entities list without "mapped by". The difference is huge event for such small objects - 2ms (without mapped by) vs ~50ms (with mapped by) Is there any chance
18

Cannot sort descending, when ordering by caluculated float in a method

Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem ... ...) select i from Invoice i order by i.getPrice() desc/asc it gives the same order for desc and asc ... = em.createQuery(             "SELECT i FROM Invoice i ORDER BY i.getPrice() DESC");         List
18

Grouping by date()

have to group by date(). For few queries I was concatenating 'date' from year()-month()-day() calls ... . When you group by date() there are two days per day. I mean group by divides each day ... hour(ov.created), count(ov) from ObjectView ov group by hour(ov.created) order by hour(ov.created) ASC
18

persistence.xml classes not respected by ObjectDB

of times. The lucky part is that I have the old DB on my development machine. By adding class by class ... class by class, as development went by. Providing an example is a little bit more problematic ... loading unspecified classes. If there is a bug and it could be demonstrated by a sample application
18

find repeated records by JPQL

.getResultList(JpaQuery.java:636) at image.cleanDB.main(cleanDB.java:19) Caused by: com.objectdb.o ... (QRR.java:197) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:627) ... 1 more Caused by ... MySQL? TIA gzdillon Lai Yang Subqueries are not support by ObjectDB yet - see this feature request
18

Multi threading on DMOs by lazy loading

It is possible to use lazy loading on fields of attached entities by several threads? Example ... the identical instance of EntityZ. Thread1 access fieldX by lazy loading. Thread2 access fieldY by lazy loading. Thread3 access list by lazy loading. Does the multi threading access on different fields work
18

Connection is closed Caused by: java.io.EOFException

test case I use will pass most of the time but will fail after an undetermined period. Caused by ... ) ... 39 more Caused by: java.io.EOFException at com.objectdb.o.NTS.z(NTS.java:317 ... ();         }     } } Please check if your application might create EntityManager instances without closing them. By the way
3

Bulk load of eager mapped by (inverse) relationships

When a collection of objects is retrieved by ObjectDB (e.g. by a query) ordinary referenced objects ... . However, inverse (mapped by) references that have to be loaded eagerly currently do not participate ... a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse
3

Lazy loading of mapped by (inverse) singular references

ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads them always eagerly. This is allowed by JPA since lazy is only hint but it is not efficient. The reason ... , so it is always available. For mapped by (inverse) reference fields no information is stored in the entity
0

[ODB1] Chapter 4 - JDO Metadata

. The metadata is used first by the JDO Enhancer, and later by the JDO ... , which includes the package name, has to be specified. requires-extent (true | false) By default, JDO ... and storage space. When extent management is not needed, it can be omitted by specifying requires

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support